package com.ruoyi.interview.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 岗位对象 tb_post
 * 
 * @author ruoyi
 * @date 2024-05-27
 */
public class TbPost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 岗位id */
    @Excel(name = "岗位id")
    private Long id;

    /** 公司id */
    @Excel(name = "公司id")
    private Long corporationId;

    /** 岗位名称 */
    @Excel(name = "岗位名称")
    private String postName;

    /** 创建时间 */
    private Date createdTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCorporationId(Long corporationId) 
    {
        this.corporationId = corporationId;
    }

    public Long getCorporationId() 
    {
        return corporationId;
    }
    public void setPostName(String postName) 
    {
        this.postName = postName;
    }

    public String getPostName() 
    {
        return postName;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("corporationId", getCorporationId())
            .append("postName", getPostName())
            .append("createdTime", getCreatedTime())
            .toString();
    }
}
